export default{
    namespaced:true,
    state:{
      shopcarList:[],
      sum:0
    },
    mutations:{
        setShopCar(state,data){
            state.shopcarList=data
        },
        setSome(state,sum){
            state.sum=sum
        }   
        
    },
    actions:{
        setShopCars({commit},data){
            commit("setShopCar",data)
        },
        setsome({commit},data){
            commit('setSome',data)
        }

    }
}